class AlterReportEditsTable < ActiveRecord::Migration
  def self.up
    rename_column :report_edits, :report_responses_id, :report_response_id
    remove_column :report_edits, :user_id
    remove_column :report_edits, :report_requests_id
  end

  def self.down
    rename_column :report_edits, :report_response_id, :report_responses_id
    add_column :report_edits, :user_id, :integer
    add_column :report_edits, :report_requests_id, :integer
  end
end
